package com.naire.modul.kpi.service;

import net.common.service.GeneralService;
import com.naire.modul.kpi.dao.KpiDao;
import com.naire.modul.kpi.dao.impl.KpiDaoImpl;
import com.naire.modul.kpi.vo.KpiVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class KpiDeleteService extends GeneralService {

	private KpiVo bean;

	@Override
	public void execute() throws Exception {
		KpiDao dao = new KpiDaoImpl();
		bean.setFlag(1);
		dao.updateFlag(bean);
	}

	public void setBean(KpiVo bean) {
		this.bean = bean;
	}

}
